package com.rolerealm.domain.entity;

import com.baomidou.mybatisplus.annotation.*;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;

/**
 * 角色性格特征实体
 * 
 * @author RoleRealm Team
 * @version 1.0.0
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@TableName("character_personalities")
public class CharacterPersonalityEntity {

    /**
     * ID
     */
    @TableId(type = IdType.AUTO)
    private Long id;

    /**
     * 角色ID
     */
    @TableField("character_id")
    private Long characterId;

    /**
     * 性格特征JSON
     */
    @TableField("personality_traits")
    private String personalityTraits;

    /**
     * 说话风格
     */
    @TableField("speaking_style")
    private String speakingStyle;

    /**
     * 情感表达范围
     */
    @TableField("emotional_range")
    private String emotionalRange;

    /**
     * 创建时间
     */
    @TableField(value = "created_at", fill = FieldFill.INSERT)
    private LocalDateTime createdAt;

    /**
     * 更新时间
     */
    @TableField(value = "updated_at", fill = FieldFill.INSERT_UPDATE)
    private LocalDateTime updatedAt;
}
